package cn.jilian.dao;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import cn.jilian.entity.Meta;

public interface MetaDAO extends CrudRepository<Meta, Long> {

	Meta findByCode(String code);
	
	List<Meta> findByFidOrderBySeq(Long fid);
	
	Integer countByFidAndRank(Long fid,Integer rank);
}

